package com.jsonDemo;

public class JsonDemo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String str = "MC001{\"type\":\"XXXXX\",\"mac\",\"11:22:33:44:55:66\"}";
		System.out.println(str);
		
		String subOrder = str.substring(0, 5);
		System.out.println(subOrder);
		
		String subJson = str.substring(5);
		System.out.println(subJson);
	}

}
